Skip to main content

Determine Inclusion / Exclusion Conditions

The Universal Calculation checks if the Element being processed should be skipped, depending on the optional setting of the equality condition check. The condition checks only the EQUALITY constraint. So, only the equal condition is supported by this analysis. If the condition is met, then the Element will be processed; otherwise, the Element is skipped. The equality check works in this way:

  • The analysis takes the Attribute of the Element being processed that is specified in the CONDITION attribute.
  • If the Attribute does not exist or if it returns a BAD value, then the object’s execution is skipped.
  • If the Attribute contains a good value, then the value is converted into a STRING value and compared against the value specified in the CONDITION text box within the configuration. If these 2 values are identical, then the Element is processed; otherwise, it is not.

Note: When executing the equality condition, you should verify that everything is convertible to a string type. In other words, if you use a double within the condition check, be sure that you are rounding accurately; otherwise, the string comparison will be mismatched and cause the Element to not be processed. Pimsoft strongly suggests that you use the following data types for this check value: STRING, BOOL and INTEGER. With these data types the equality condition will resolve to accurate conditions.